<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Home.Master" Inherits="System.Web.Mvc.ViewPage<Aga.Psad.Mvc.Models.ErrorViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Error
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="content">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box-style1">
            <tr>
                <td id="box2">
                    <h2>
                        Error</h2>
                    <%
                        Aga.Psad.Mvc.Models.ErrorViewModel error = Model ?? new Aga.Psad.Mvc.Models.ErrorViewModel();
                    %>
                    <fieldset>
                        <p>
                            <%= Html.Encode(error.Message) %>
                        </p>
                        <p>
                            <%= Html.Encode(error.Details) %>
                        </p>
                    </fieldset>
                    <p>
                        <%=Html.ActionLink("Volver", "Index", error.ControllerName)%>
                    </p>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
